package guda.stark.dal.dao;

import guda.stark.dal.dataobject.DepositRuleDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface DepositRuleDAO {


    Long insert(DepositRuleDO depositRule);


    DepositRuleDO getDepositRuleById(Long ruleId);


    boolean delDepositRuleById(Long ruleId);

    List<DepositRuleDO> getDepositRuleByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long ruleId);

    List<DepositRuleDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(DepositRuleDO depositRule);

}
